﻿@model Home.WebUI.Areas.Example.Models.Validation.UserInfo
@{
    ViewBag.Title = "";
    Layout = "~/Areas/Example/Views/Shared/_Layout.cshtml";
    string controllerName = Request.RequestContext.RouteData.Values["controller"].ToString();
}

@section head{
   <script src="/Scripts/jquery-1.5.1.min.js" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
<script type="text/javascript" src="/Scripts/ueditor-1.2.0/editor_config.js"></script>
<script type="text/javascript" src="/Scripts/ueditor-1.2.0/editor_all.js"></script>
<link rel="stylesheet" href="/Scripts/ueditor-1.2.0/themes/default/ueditor.css"/>
 <script src="/Scripts/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
}
<div id="bdw" class="bdw">
<div id="bd" class="cf">
<div id="partner">
	<div id="content" class="clear mainwide">
        <div class="clear box">
            <div class="box-top"></div>
            <div class="box-content">
                <div class="head"><h2>新建@(ViewBag.ColumnTitle)</h2></div>
                <div class="sect">
                    @using (Html.BeginForm())
                    {
                   @* @Html.ValidationSummary(true)*@
						@*<div class="wholetip clear"><h3>1、登录信息</h3></div>*@
                        <div class="field">
                            <label>用户名</label>
                           @Html.TextBoxFor(model => model.UserName, new { @class = "f-input" })
                            <div class="clear"></div>
                          @Html.ValidationMessageFor(model => model.UserName)
                        </div>
                        <div class="field">
                            <label>密码</label>
                           @Html.TextBoxFor(model => model.PassWord, new { @class = "f-input" })
                            <div class="clear"></div>
                          @Html.ValidationMessageFor(model => model.PassWord)
                        </div>
                        <div class="field">
                            <label>确认密码</label>
                           @Html.TextBoxFor(model => model.VPassWord, new { @class = "f-input" })
                            <div class="clear"></div>
                          @Html.ValidationMessageFor(model => model.VPassWord)
                        </div>
                        <div class="field">
                            <label>邮箱</label>
                           @Html.TextBoxFor(model => model.Email, new { @class = "f-input" })
                            <div class="clear"></div>
                          @Html.ValidationMessageFor(model => model.Email)
                        </div>
                        <div class="field">
                            <label>日期</label>
                            @Html.TextBox("CreateDate", string.Format("{0:yyyy-MM-dd}", Model.CreateDate), new { @class = "h-input" })
                            <div class="clear"></div>
                          @Html.ValidationMessageFor(model => model.CreateDate)
                        </div>
                        <div class="act">
                            <input type="submit" value="新建" name="commit" id="partner-submit" class="formbutton"/>

                        </div>
                    }
                </div>
            </div>
            <div class="box-bottom"></div>
        </div>
	</div>

<div id="sidebar">
</div>

</div>
</div> <!-- bd end -->
</div> <!-- bdw end -->